package my.video.lib.main;

import java.io.IOException;

import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

import my.video.lib.model.Model;
import my.video.lib.view.View;

public class Main {
	
	public static void main(String args[]) throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException, UnsupportedLookAndFeelException {
		
		// Set cross-platform Java L&F (also called "Metal")
        UIManager.setLookAndFeel(
            UIManager.getSystemLookAndFeelClassName());
		Model model = new Model();
		View view = new View(model);
		model.readSettingsOnStartup();
        model.readFilesOnStartup();
		view.setVisible(true);
		view.requestFocus();
		System.out.println(model.getPrefSelectedCheckBoxMap());
	}
}
